package com.xuhai.movie.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;
import java.util.List;

public class Movie {
    private Integer movieId;

    private String movieName;

    private String actors;
    @JSONField(format = "yyyy-MM-dd")
    private Date releaseDate;

    private String profile;

    private Integer score;

    private Integer directorId;

    private Integer status;

    private Integer[] rangeScore;

    private String[] rangeRelease;

    private List<Category> categoryList;

    private List<MovieImage> imageList;

    private String categories;

    private String images;

    private Director director;

    public Director getDirector() {
        return director;
    }

    public void setDirector(Director director) {
        this.director = director;
    }

    public String getCategories() {
        return categories;
    }

    public void setCategories(String categories) {
        this.categories = categories;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public List<Category> getCategoryList() {
        return categoryList;
    }

    public void setCategoryList(List<Category> categoryList) {
        this.categoryList = categoryList;
    }

    public List<MovieImage> getImageList() {
        return imageList;
    }

    public void setImageList(List<MovieImage> imageList) {
        this.imageList = imageList;
    }

    public Integer[] getRangeScore() {
        return rangeScore;
    }

    public void setRangeScore(Integer[] rangeScore) {
        this.rangeScore = rangeScore;
    }

    public String[] getRangeRelease() {
        return rangeRelease;
    }

    public void setRangeRelease(String[] rangeRelease) {
        this.rangeRelease = rangeRelease;
    }

    public Integer getMovieId() {
        return movieId;
    }

    public void setMovieId(Integer movieId) {
        this.movieId = movieId;
    }

    public String getMovieName() {
        return movieName;
    }

    public void setMovieName(String movieName) {
        this.movieName = movieName == null ? null : movieName.trim();
    }

    public String getActors() {
        return actors;
    }

    public void setActors(String actors) {
        this.actors = actors == null ? null : actors.trim();
    }

    public Date getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseDate(Date releaseDate) {
        this.releaseDate = releaseDate;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile == null ? null : profile.trim();
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getDirectorId() {
        return directorId;
    }

    public void setDirectorId(Integer directorId) {
        this.directorId = directorId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
